@font-face {
    font-family: JETB;
    src: url("../font/JETBRAINSMONO-BOLD.TTF");
}

@font-face {
    font-family: YouYuan;
    src: url("../font/SIMYOU.TTF");
}

@font-face {
    font-family: Ali;
    src: url("../font/AlimamaDongFangDaKai.TTF");
}

@font-face {
    font-family: Sou;
    src: url("../font/SourceHanSansCN-Bold.otf");
}

@font-face {
    font-family: JNMYT;
    src: url("../font/JingNanMaiYuanTi.otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
    line-height: 1.2;
}

:root {
    transition: opacity .5s .2s;
}

.background {
    border-radius: var(--global-border-radius);
    background-color: rgba(0, 0, 0, var(--global-bg-opacity));
    padding: var(--container-bg-padding);
    font-size: var(--center-font-size);
    font-weight: 600;
}

.classContainer {
    font-family: JNMYT;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: auto;
}


.countdownContainer {
    position: absolute;
    transition: all 2s;
    padding: var(--container-bg-padding);
}

.globalContainer {
    position: fixed;
    top: var(--top-space);
    left: 50%;
    transform: translateX(-50%);
}

.class {
    color: rgba(255, 255, 255, 1);
    margin: 0 var(--main-horizontal-space);
}

.current {
    color: rgba(0, 255, 10, 1);
}

.upcoming {
    color: rgba(0, 255, 10, 1);
    animation: highlightUpcoming 1.5s;
    animation-iteration-count: infinite;
}

@keyframes highlightUpcoming {
    0% {
        color: rgba(255, 255, 255, 1)
    }

    50% {
        color: rgba(0, 255, 10, 1);
    }

    100% {
        color: rgba(255, 255, 255, 1)
    }

}

.sidebar {
    /* height: 100%; */
    position: absolute;
    top: 0;
    font-family: Ali;
}

.rightSidebar {
    right: 0;
    color: #FF3a3a;
    transform: translateX(calc(100% + var(--container-space)));
}

.leftSidebar {
    left: 0;
    color: rgb(0, 238, 255);
    transform: translateX(calc(-100% - var(--container-space)));
}

.corner {
    display: inline;
    font-size: var(--corner-font-size);
    color: rgba(255, 255, 255, 1);
    font-family: Sou;
}


.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 var(--triangle-size) var(--triangle-size);
    border-color: transparent transparent rgba(0, 0, 0, var(--global-bg-opacity));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.countdowner {
    background-color: rgba(0, 0, 0, var(--global-bg-opacity));
    border-radius: var(--global-border-radius);
    padding: var(--countdown-bg-padding);
    font-size: var(--countdown-font-size);
    transition: all 2s;
}

.currentClass {
    color: rgba(0, 255, 10, 1);
    display: inline;
    font-family: Sou;
    transition: all 2s;
    font-weight: bold;
}

.countdown {
    color: rgba(255, 255, 255, 1);
    display: inline;
    font-family: JETB;
}

.miniCountdown {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: var(--top-space);
    border-radius: var(--global-border-radius);
    background-color: rgba(0, 0, 0, var(--global-bg-opacity));
    padding: var(--countdown-bg-padding);
    font-size: var(--countdown-font-size);
    font-family: JETB;
    color: #FFF;
    display: none;
    border: 2px solid #4CAF50; /* 绿色边框突出提示 */

}

.hint-label {
  color: rgba(0, 255, 10, 1); /* 自定义颜色 */
   font-weight: bold; /* 可选：加粗突出 */
}

.divider {
    width: var(--divider-width);
    background-color: #aaa;
    border-radius: calc(var(--divider-width) / 2);
    margin: var(--divider-margin);
}

.subClass {
    display: inline;
    font-size: var(--sub-font-size);
}

.nextClassHint {
    transition: opacity 0.5s;
    border: 2px solid #4CAF50; /* 绿色边框突出提示 */
}

.nextClassHint.fadeOut {
    opacity: 0;
}